import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useMenuStore = defineStore('menu', () => {
  const menuList = ref([]);//菜单集合
  // const doubleCount = computed(() => count.value * 2)
  function initList(list: any) {  //初始化集合的方法
    menuList.value = list;
  }
  return { menuList, initList }
})
